//
// Created by 78472 on 2022/5/18.
//

#ifndef CONFIG_PARAM_H
#define CONFIG_PARAM_H

#include <string>
using namespace std;

static const int ZigBeeSitePort     = 9002;
static const int ConfigSitePort     = 9006;
static const int QuerySitePort      = 9000;
static const int Hongmei_dev_port   = 9021;
static const int MasterSitePort     = 9012;

//站点描述
static const string CONFIG_SITE_ID = "config";
static const string CONFIG_SITE_ID_NAME = "整体配置";

//服务请求
static const string SETPANELINFO_REQUEST_SERVICE_ID                 =    "config_self_info";
static const string GETPANELINFO_REQUEST_SERVICE_ID                 =    "get_self_info";
static const string GET_SCENECONFIG_FILE_REQUEST_SERVICE_ID         =    "getSceneConfigFile";
static const string HONGMEI_PANEL_REGISTER_REQUEST_SERVICE_ID       =    "registerHmPanel";


//消息发布ID
static const string PANELINFO_MODIFIED_MESSAGE_ID       = "self_info_update";       //面板配置信息更改
static const string SCENELIST_MODIFIED_MESSAGE_ID       = "sceneListModified";      //场景文件被app修改
static const string PANELINFO_DELETE_MESSAGE_ID         = "panelDelete";            //面板删除消息


//订阅消息ID
// 主从站点
static const string Site_List_Update_MessageID          = "app_site_list_update";   //站点列表变更
static const string Master_Update_MessageID             = "master_update";          //主站点变更消息  
static const string Master_AllUpate_MessageID           = "all_update";             //主从所有面板列表变更
// 虹美站点
static const string Hongmei_AddNewDevice_MessageID      = "HongmeiAddNewDevice";    //新增面板或者雷达设备
static const string Hongmei_GatewayInfo_MessageID       = "HongmeiGatewayInfo";     //app下发的网关属性信息
static const string Hongmei_Unbind_MessageID            = "HongmeiUnbind";          //解绑消息
static const string Hongmei_Destroy_Network_MessageID   = "HongmeiDestroyNetwork";  //清除网络信息
static const string Hongmei_SceneFileChange_MessageID   = "";                        //场景文件变更


//虹美云消息
static const string HongMeiCloudDomain_TEST     = "test-envsplit.mymlsoft.com";
static const string HongMeiCloudDomain_FORMAL   = "device-device.mymlsoft.com";
static const string PanelRegister2CloudUrl      = "/cdc-whitegoods/cloud/active";
static const string GetFamilyDevs               = "/saserver/ewc2/family/getFamilyDevs";
static const string GetFamilyRooms              = "/saserver/family/queryFamily";

#endif //CONFIG_PARAM_H
